extends Area2D

@export var direction :int = 1

func _on_area_entered(area):
	if area.is_in_group("ball"):
		#i.rate.y = absf(i.rate.y) * direction
		area.reverseY()
		area.pongwall()
